package com.yenlien.traceyun.plant.entity;

import com.yenlien.traceyun.webase.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


@Entity
@Table(name = "t_yenlien_project_example")
public class YenlienProjectExample extends BaseEntity {


    @ApiModelProperty(value = "序号", example = "1")
    private Integer sort;


    @ApiModelProperty(value = "项目名称", example = "德格智慧农业")
    private String name;


    @ApiModelProperty(value = "介绍（富文本）", example = "*.png")
    @Column(columnDefinition = "longtext")
    private String introduce;


    @ApiModelProperty(value = "硬件, JSON 数组   []", example = "['气象传感', '摄像机']")
    private String hardware;    // JSON 数组   []

    @ApiModelProperty(value = "软件", example = "['xxx', 'yyy']")
    private String software;



    @ApiModelProperty(value = "状态 1=启用 2=禁用", example = "1")
    private String state;


    @ApiModelProperty(value = "创建时间")
    private String createTime;



    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getHardware() {
        return hardware;
    }

    public void setHardware(String hardware) {
        this.hardware = hardware;
    }

    public String getSoftware() {
        return software;
    }

    public void setSoftware(String software) {
        this.software = software;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
